'use strict';

const koa = require('koa');
const koaRouter = require('koa-router');
const app = new koa();
const router = new koaRouter()

router.get('/', ctx => {
	ctx.body = 'wqeqwe'
})

router.get('/user', ctx => {
	ctx.body = 'eqwewcewcwe'
})


app.use(router.routes()).use(router.allowedMethods());

app.listen(1337);


